import Vue from "vue";
import i18n from '@/language/index'
const vueObj = new Vue({ i18n });
export default {
  nodes: [
    {
      id: 'begin',
      type: 'node',
      shape: 'flow-circle',
      size: '80*80',
      label: '开始',
      color: '#ff6666',
      remark: '开始',
      forbidDel: true,
      x: 468,
      y: 61,
    },
    {
      id: 'end',
      type: 'node',
      shape: 'flow-circle',
      size: '80*80',
      label: '结束',
      color: '#ff6666',
      remark: '结束',
      forbidDel: true,
      x: 468,
      y: 300,
    },
    // {
    //   type: 'node',
    //   size: '80*48',
    //   shape: 'flow-rect',
    //   color: '#1890FF',
    //   label: vueObj.$t('batch.workflowConfig.form.initiatingNode'),
    //   x: 468,
    //   y: 201.5,
    //   id: 'b69121d6',
    //   index: 1,
    //   nodeType: 3,
    //   nodeCode: '',
    //   errorIgnore: 1,
    //   isSplit: 2,
    //   executeTimes: 1,
    //   expireTime: 3600,
    //   remark: vueObj.$t('batch.workflowConfig.form.initiatingNode'),
    //   forbidDel: true,
    //   nodeHandler: ''
    // },
  ],
  edges: [
    {
      source: 'begin',
      sourceCode: 'begin',
      sourceAnchor: 2,
      target: 'end',
      targetCode: 'end',
      targetAnchor: 0,
      id: '070785c1',
      index: 4,
      forbidDel: false,
    },
  ],
}
